/**
 * Copyright © 2020 易久批信息技术有限公司. All rights reserved.
 */
package com.dysm.builder;

/**
 * 建造者模式
 * @author xiay
 * @since 2020/12/5 9:48 下午
 */
public class BuilderClient {

    public static void main(String[] args) {
        DogDirector director = new MyDogDirector(new MyDogBuilder());
        Dog dog = director.createDog();
        System.out.println(dog.getHeader().getName());
    }
}
